package com.hefei.hight.reflection;

import java.lang.annotation.ElementType;

/**
 * @author caizhengjun
 * @date 2020/9/5 10:55 上午
 */
public class Test02 {
    public static void main(String[] args) {
        Class<Object> c1 = Object.class;
        Class<Comparable> c2 = Comparable.class;
        Class<String[]> c3 = String[].class;
        Class<int[][]> c4 = int[][].class;
        Class<ElementType> c5 = ElementType.class;
        Class<Override> c6 = Override.class;
        Class<Integer> c7 = int.class;
        Class<Void> c8 = void.class;
        Class<Class> c9 = Class.class;

        int[] a = new int[10];
        Class<? extends int[]> c10 = a.getClass();
        int[] b = new int[100];
        Class<? extends int[]> c11 = b.getClass();

        System.out.println(c10 == c11);
    }
}
